<?php
if (!defined("EXPONENT")) exit("");
// 9/24/2009: Immanuel192 write this action  to show add dialog
 $id=-1;
 if (isset($_REQUEST['id']))	$id=intval($_REQUEST['id']);
 // get album 
 $album=$db->selectObject("album","id = {$id}");
 if ($album){
    $template = new template('storemodule','_show_add_dialog',$loc);
    $template->assign("album",$album);
    $template->assign("id",$id);
    $template->output();
 } else echo SITE_403_HTML;
?>
